﻿<Window x:Class="TapiocaWpf.Rendering.ReportModel"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="ReportModel" Height="Auto" Width="Auto"
         WindowState="Maximized" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" d:DesignHeight="568" d:DesignWidth="1195">
    <Window.Resources>
        
    </Window.Resources>
    <DockPanel Height="Auto" LastChildFill="True">
        <DockPanel DockPanel.Dock="Top">
            <!--<Image Source="BannerLogo_DT.png"/>
            <Rectangle Fill="#FF4D1F0E" Stroke="#FF4D1F0E" Width="20" Height="20" />
            <TextBlock Margin="5" Foreground="Black" FontWeight="bold">Some Table A [Table] or [Schedule]</TextBlock>-->
        </DockPanel>
       <Menu DockPanel.Dock="Top">
            <MenuItem Header="File">
                <MenuItem Header="Import list of peers"/>
                <MenuItem Header="Export to Excel"/>
                <Separator></Separator>
                <MenuItem Header="Logout"/>
            </MenuItem>
            <MenuItem Header="View">
                <MenuItem Header="Work mode">
                    <MenuItem Header="A. Work with disclosure information for single report of a reporting entity"/>
                    <MenuItem Header="B. Compare disclosures information of reporting entity across periods"/>
                    <MenuItem Header="C. Compare disclosures information accross reporting entities"/>
                    <MenuItem Header="D. Work with reported information of reporting entity"/>
                    <MenuItem Header="E. Compare reported information of one reporting entity across financial reports (time series)"/>
                    <MenuItem Header="F. Compare reported information of across reporting entities (company comparison)"/>
                    <MenuItem Header="G. Ad hoc query of information"/>
                </MenuItem>
            </MenuItem>
            <MenuItem Header="Tool">
                <MenuItem Header="Options/Preferences">
                    <MenuItem Header="Reporting entity classification scheme to use">
                        <MenuItem Header="Standard Industry Classification (SIC)"/>
                        <MenuItem Header="Sector"/>
                        <MenuItem Header="Subidustry"/>
                    </MenuItem>
                    <MenuItem Header="Language">
                        <MenuItem Header="English"/>
                        <MenuItem Header="Spanish"/>
                        <MenuItem Header="German"/>
                    </MenuItem>
                </MenuItem>
                <Separator></Separator>
                <MenuItem Header="Variance analysis wizard"/>
                <MenuItem Header="Model structure comparison wizard"/>
            </MenuItem>
            <MenuItem Header="Help">
                <MenuItem Header="Topic">
                    <MenuItem Header="How to use this appliction"/>
                    <MenuItem Header="Understanding renderings"/>
                    <MenuItem Header="Understanding model structure"/>
                    <MenuItem Header="Understanding fact tables"/>
                    <MenuItem Header="Understanding SEC preview"/>
                </MenuItem>
                <Separator></Separator>
                <MenuItem Header="Go to XBRL Cloud"/>
                <MenuItem Header="Subscribe"/>
                <Separator></Separator>
                <MenuItem Header="About"/>
            </MenuItem>
        </Menu>
        <ToolBar DockPanel.Dock="Top">
            <Label>User Mode:</Label>
            <ComboBox SelectedIndex="0" ToolTip="Configures interface to specific user type." Width="75" Height="20">
                <ComboBoxItem>Beginning user</ComboBoxItem>
                <ComboBoxItem>Advanced user</ComboBoxItem>
                <ComboBoxItem>Professional version (requires subscription)</ComboBoxItem>
                <ComboBoxItem>Accountant creating financial report</ComboBoxItem>
                <ComboBoxItem>Auditor</ComboBoxItem>
            </ComboBox>
            <Separator/>
            <Label>Work with:</Label>
            <ComboBox SelectedIndex="0" ToolTip="Selects from the set of financial reports to work with." Width="100" Height="20">
                <ComboBoxItem>DOW 30</ComboBoxItem>
                <ComboBoxItem>Fortune 100</ComboBoxItem>
                <ComboBoxItem>S &amp; P 500</ComboBoxItem>
                <ComboBoxItem>Peers (requires subscription)</ComboBoxItem>
                <ComboBoxItem>Complete set of 2012 SEC 10-K reports for all reporting entities (requires subscription)</ComboBoxItem>
                <ComboBoxItem>All reporting entities (requires subscription)</ComboBoxItem>
            </ComboBox>
            <Separator/>
            <Label>Entity types:</Label>
            <ComboBox SelectedIndex="0" ToolTip="Selects the types of entities to work with." Width="100" Height="20">
                <CheckBox FontWeight="Normal" IsChecked="False">Corporations (xxx)</CheckBox>
                <CheckBox FontWeight="Normal" IsChecked="False">Partnerships (xxx)</CheckBox>
                <CheckBox FontWeight="Normal" IsChecked="False">Associations (xxx)</CheckBox>
            </ComboBox>
            <Separator/>
            <Label>SIC:</Label>
            <ComboBox SelectedIndex="0" ToolTip="Selects the standared industrial classification codes (SIC) to work with." Width="100" Height="20">
                <CheckBox FontWeight="Normal" IsChecked="False">1000-Agrigulture (xxx)</CheckBox>
                <CheckBox FontWeight="Normal" IsChecked="False">2000-Airlines (xxx)</CheckBox>
                <CheckBox FontWeight="Normal" IsChecked="False">3000-Depository institution (xxx)</CheckBox>
                <CheckBox FontWeight="Normal" IsChecked="False">4000-Business services (xxx)</CheckBox>
            </ComboBox>
            <Separator/>
            <Label>Form types:</Label>
            <ComboBox SelectedIndex="0" ToolTip="Selects which forms to work with." Width="75" Height="20">
                <ComboBoxItem>10-K only</ComboBoxItem>
                <ComboBoxItem>10-Q only</ComboBoxItem>
                <ComboBoxItem>10-K and 10-Q</ComboBoxItem>
                <ComboBoxItem>All forms (requires subscription)</ComboBoxItem>
            </ComboBox>
            <Separator/>
            <Label>Work Mode:</Label>
            <ComboBox SelectedIndex="0" ToolTip="Configures application for work mode." Width="75" Height="20">
                <ComboBoxItem>Work with disclosure information for single report of a reporting entity</ComboBoxItem>
                <ComboBoxItem>Compare disclosures information of reporting entity across periods</ComboBoxItem>
                <ComboBoxItem>Compare disclosures information accross reporting entities</ComboBoxItem>
                <ComboBoxItem>Work with reported information of reporting entity</ComboBoxItem>
                <ComboBoxItem>Compare reported information of one reporting entity across financial reports (time series)</ComboBoxItem>
                <ComboBoxItem>Compare reported information of across reporting entities (company comparison)</ComboBoxItem>
                <ComboBoxItem>Ad hoc query of information</ComboBoxItem>
            </ComboBox>
            <Separator/>
            <CheckBox FontWeight="Normal" IsChecked="False" ToolTip="Includes/excludes developing stage companies.">Developing stage</CheckBox>
            <Separator/>
            <CheckBox FontWeight="Normal" IsChecked="False" ToolTip="Includes/excludes reporting entities with going concern disclosures." >Going concern</CheckBox>
            <Separator/>
            <CheckBox FontWeight="Normal" IsChecked="False" ToolTip="Includes/excludes reporting entities which are trusts." >Trusts</CheckBox>
        </ToolBar>
        <ToolBar DockPanel.Dock="Top">
            <TextBox Height="20" HorizontalAlignment="Left" Name="TextBox2" VerticalAlignment="Top" Width="300" />
            <Button Content="Filter entities" Height="20" HorizontalAlignment="Left" Name="Button2" VerticalAlignment="Top" Width="75" />
            <Separator/>
            <Label>User name: charleshoffman@olywa.net</Label>
            <Separator/>
            <Label>Status: OK</Label>
            <Separator/>
            <Label>Subscription type: Professional</Label>
            <Separator/>
        </ToolBar>
        <StackPanel DockPanel.Dock="Top" Orientation="Horizontal" Margin="12,12,0,0">
            <TextBox Height="23" HorizontalAlignment="Left" Name="TextBox1" VerticalAlignment="Top" Width="200" />
            <Button Content="Filter entities" Height="23" HorizontalAlignment="Left" Name="Button1" VerticalAlignment="Top" Width="75" />
        </StackPanel>
        <StatusBar Height="20" DockPanel.Dock="Bottom" Name="statusBar">
            <StatusBarItem>
                <TextBlock x:Name="MessageTextBlock"></TextBlock>
            </StatusBarItem>
        </StatusBar>
        <Grid DockPanel.Dock="Top" Margin="12,12,0,0" Name="Grid1">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="4*"/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition />
                <RowDefinition  />
                <RowDefinition  />
            </Grid.RowDefinitions>
            <DockPanel Grid.Row="0" Grid.Column="0" >
                <Label DockPanel.Dock="Top" Content="Entities:" Height="29" Name="Label1" Width="Auto" FontWeight="Bold" />
                <ListBox Height="Auto" Name="lbEntities" Width="Auto">
                    
                </ListBox>
            </DockPanel>
            <DockPanel Grid.Row="1" Grid.Column="0" >
                <Label DockPanel.Dock="Top" Content="Reports:" Height="29" Name="Label2" Width="Auto" FontWeight="Bold" />
                <ListBox  Height="Auto" Name="ListBox2" Width="Auto">
                    <ListBoxItem>10-K (2012-12-31)</ListBoxItem>
                    <ListBoxItem>10-Q (2012-09-30)</ListBoxItem>
                    <ListBoxItem>10-K (2012-07-31)</ListBoxItem>
                    <ListBoxItem>10-K (2012-03-31)</ListBoxItem>
                </ListBox>
            </DockPanel>
            <DockPanel Grid.Row="2" Grid.Column="0" >
                <Label DockPanel.Dock="Top" Content="Report components:" Height="29" Name="Label3" Width="Auto" FontWeight="Bold" />
                <ListBox Height="Auto" Name="lbNetworks" Width="Auto" SelectionChanged="lbNetworks_SelectionChanged">
                    
                </ListBox>
            </DockPanel>
            <TabControl Grid.Row="0" Grid.Column="1" Grid.RowSpan="3" Name="TabControl1" 
                        HorizontalContentAlignment="Stretch" Background="AliceBlue">
                <TabItem Header="Rendering" Background="CornflowerBlue">
                <FlowDocumentScrollViewer>      
                    <FlowDocument>
                        <Paragraph x:Name="slidersParagraphs" FontSize="12">
                            
                        </Paragraph>

                        <Table CellSpacing="0" Name="table1" >
                                <Table.Resources>
                                    <Style x:Key="HeaderStyle" TargetType="{x:Type TableRow}">
                                        <Setter Property="FontWeight" Value="Bold"/>
                                        <Setter Property="FontSize" Value="12"/>                                        
                                    </Style>                                    
                                    <Style x:Key="HeaderCellStyle" TargetType="{x:Type TableCell}">
                                        <Setter Property="BorderThickness" Value="1,1,1,1" />
                                        <Setter Property="BorderBrush" Value="Black" />
                                    </Style>
                                </Table.Resources>
                                <TableRowGroup x:Name="tableRowGroup" Paragraph.TextAlignment="Center">
                                    <TableRow x:Name="headerRow" >
                                        <TableCell Background="{StaticResource {x:Static SystemColors.GradientInactiveCaptionBrushKey}}">
                                            <BlockUIContainer>
                                                <Grid Height="50">
                                                    <TextBlock x:Name="tbHeader1" Text="teste11" VerticalAlignment="Bottom" />
                                                </Grid>
                                            </BlockUIContainer>
                                        </TableCell>
                                    </TableRow>
                                </TableRowGroup>
                            </Table>
                    </FlowDocument>
                </FlowDocumentScrollViewer>
                </TabItem>
                <TabItem Header="Model structure" Background="CornflowerBlue">
                </TabItem>
                <TabItem Header="Fact table" Background="CornflowerBlue">
                </TabItem>
                <TabItem Header="SEC preview" Background="CornflowerBlue">
                </TabItem>
            </TabControl>           
        </Grid>
    </DockPanel>
</Window>
